<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0,maximum-scale=1.0, user-scalable=no" />
    <title>未来小说网</title>
</head>
<!-- 作为公共部分分离 -->
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script>
<link rel="stylesheet" href="../../resources/css/header.css" th:href="@{/resources/css/header.css}">
<link rel="stylesheet" href="../../resources/css/cut.css" th:href="@{/resources/css/cut.css}">
<link rel="stylesheet" href="../../resources/font/iconfont.css" th:href="@{/resources/font/iconfont.css}">
<!-- 作为公共部分分离/ -->
<body>
<!-- 作为公共部分分离 -->
    <div class="shortcut">
        <div class="w">
            <!-- <ul class="fl"><a href="javascript:">future book</a></ul> -->
            <ul class="fl left" >
                <li class="fl" id="pngfix"><a href="javascript:"><i class="iconfont icon-cebianlanshousuo"></i></a></li>
                <li class="fl"><a href="FutureNovel.html" th:href="@{/index}"><i class="iconfont icon-earth"></i></a></li>
            </ul>
            <ul class="fr" th:with="user=${session.currentAccount}">
                <li class="message fl"><i class="iconfont icon-Message"></i></li>
                <li class="skin fl"><i class="iconfont icon-ColorLens"></i></li>
                <li class="s-name fl"></li>
                <li class="admin fl" id="admin"><span th:text="${user.userName}"></span><i class="iconfont icon-downarrow"></i>
                    <ul class="dropdown" id="dropdown" style="display: none;">
                        <li><a th:href="@{'/user/'+${session.currentAccount.uid.toString()}}">个人信息</a></li>
                        <li><a href="login.html" th:href="@{/login}">切换账号</a></li>
                        <li onclick="yes_no('确认退出吗','logout_user')"><a href="javascript:" id="out" >退出</a></li>
                    </ul>
                </li>

            </ul>
        </div>
    </div>
    <div class="catalog" id="catalog">
    <div class="side fl">
        <div class="logo">
            <span>未来小说网</span>
        </div>
        <ul>
            <li><a href="backstage-book.html" th:href="@{/admin/books}">书籍管理</a></li>
            <li><a href="backstage-user.html" th:href="@{/admin/users}">用户管理</a></li>
            <li><a href="backstage-comment.html" th:href="@{/admin/comments}">评论管理</a></li>
            <li><a href="backstage-poster.html" th:href="@{/admin/posters}">海报管理</a></li>
        </ul>
    </div>
    </div>
    <div class="contant" id="contant">
        <span>欢迎来到 未来小说网</span>
    </div>
<!-- 作为公共部分分离/ -->
</body>
<!-- 作为公共部分分离 -->
<script src="../../resources/js/index.js" th:src="@{/resources/js/index.js}">
</script>
<script src="../../resources/js/index2.js" th:src="@{/resources/js/index2.js}"></script>
<!-- 作为公共部分分离/ -->
<script th:inline="javascript" async>
const contextPath=/*[[${#request.getContextPath()}]]*/'http://localhost:8080/future-novel';
</script>
</html>
